package com.itheima.d3_abstract;

public class Cat extends Anmials{
    @Override
    public void cry() {
        System.out.println(getName()+"喵喵喵的叫");
    }

    public Cat(String name) {
        super(name);
    }
}
